Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] ReadShortcutViewModel 생성 #479

Merged
merged 12 commits into from
Aug 12, 2023

Conversation

jim4020key
Copy link
Collaborator

관련 이슈

구현/변경 사항

  • ReadShortcutViewModel과 ShowProfileViewModel을 생성했습니다.
  • ReadShortcutView과 UpdateShortcutView은 ReadShortcutViewModel을 공유합니다.
  • ShortcutsZipViewModel line 43에서 Publishing changes from within view updates is not allowed, this will cause undefined behavior. 경고가 발생하는데 ReadShortcutView를 그릴 때 ReadShortcutViewModel에서 Publish된 속성(comments)을 초기화하는 과정에서 ShortcutsZipViewModel에서 Publish된 속성(allComments)이 업데이트되면서 발생하는 것 같아요. 제가 이해한게 맞다면 ShortcutsZipViewModel line 920에서 allComments 대신 새로운 변수를 선언하여 리턴하는 방법으로 해결해도 될까요 ??? 확인부탁드려요 ... 👀

Screenshot 2023-07-25 at 6 08 03 AM

Screenshot 2023-07-25 at 6 08 37 AM

스크린샷

단축어는 작성하지 않고 추천 모음집만 작성한 경우, ShowProfileView에서의 유저 등급 이미지를 수정했습니다.

수정 전 수정 후
IMG_6940 Simulator Screenshot - iPhone 14 - 2023-07-25 at 06 15 50

@jim4020key jim4020key self-assigned this Jul 24, 2023
@jim4020key jim4020key added the Type-Feature New feature label Jul 24, 2023
@jim4020key jim4020key added this to the 12th Sprint milestone Jul 24, 2023
Copy link
Member

@JMM00 JMM00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM~! 넵! 새로운 변수 만들어서 반환해주시면 될 것 같습니다!

Copy link
Member

@HanGyeongjun HanGyeongjun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

말씀해주신 방법으로 해결해 주시면 될 것 같아요! 수고하셨씁니당

@jim4020key jim4020key merged commit 2cd3a4b into develop Aug 12, 2023
@jim4020key jim4020key deleted the feature/473-readshortcutviewmodel branch August 12, 2023 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type-Feature New feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feat] ReadShortcutViewModel 생성
3 participants